package com.Composite;

public class Apple extends MyElement{
    public void eat(){
        System.out.println("吃苹果");
    }
}
